<template>
  <div style="height: 50px; line-height: 50px;border-bottom: 1px solid #ccc;display: flex">
    <div style="width: 240px;padding-left:30px; font-weight:bold; color: darkblue">医疗结构化电子病历系统</div>
    <div style="flex: 1"></div>
    <div style="width: 100px">
      <el-dropdown>
        <el-button  @click="quit">退出登录</el-button>
      </el-dropdown>
    </div>
  </div>
</template>

<script>
import router from "@/router";

export default {
  name: "Header",
  methods: {
    quit() {
      router.push("/login");
    }
  }
}
</script>

<style scoped>

</style>